package com.yurun.mapper;

import com.yurun.entity.BCategory;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface BCategoryMapper {
    // === insert ===
    int addBcategory(BCategory bCategory);

    // === delete ===
    int deleteBcategoryById(Long id);

    // === update -> don't need ===
    // === select ===
    List<BCategory> getBCategoryList();
}
